// pages.config.js
import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages';

export default defineUniPages({
  // 你也可以定义 pages 字段，它具有最高的优先级。
  pages: [],
  globalStyle: {
    navigationBarTitleText: 'Yarward-Demo',
    enablePullDownRefresh: false,
    onReachBottomDistance: 50,
  },
  tabBar: {
    custom: true,
    customize: true,
    overlay: true,
    height: '0',
    color: '#474747',
    selectedColor: '#3B8DFF',
    backgroundColor: '#F8F8F8',
    list: [
      {
        pagePath: 'pages/index/index'
      },
      {
        pagePath: 'pages/mine/index'
      },
    ],
  }
});
